package cn.com.wishcloud.child.module.easemob;

import cn.com.wishcloud.child.module.easemob.comm.Constants;
import cn.com.wishcloud.child.util.HTTPClientUtils;

import java.net.URL;


/**
 * HTTPClient EndPoints
 *
 * @author Lynch 2014-09-15
 */
public interface EndPoints {

    static final URL TOKEN_APP_URL = HTTPClientUtils.getURL(Constants.APPKEY.replace("#", "/") + "/token");

    static final URL USERS_URL = HTTPClientUtils.getURL(Constants.APPKEY.replace("#", "/") + "/users");

    static final URL MESSAGES_URL = HTTPClientUtils.getURL(Constants.APPKEY.replace("#", "/") + "/messages");

    static final URL CHATGROUPS_URL = HTTPClientUtils.getURL(Constants.APPKEY.replace("#", "/") + "/chatgroups");

    static final URL CHATFILES_URL = HTTPClientUtils.getURL(Constants.APPKEY.replace("#", "/") + "/chatfiles");

}
